/***************************************************************************
 *   Copyleft 2006-2007 by												   *
 *	 Iwanicki Krzysztof													   *
 *   <gamma.mini.pw.edu.pl/~iwanickik>			                           *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 ***************************************************************************/

#ifndef __KEYBORDLISTENER_H__
#define __KEYBORDLISTENER_H__

#include <Types/vTypes.h>
#include "../../Macros/vMemoryMacros.h"

namespace Vendetta {
	class vKeyboardListener {
	public:
		struct KeyboardEvent {
			vUShort mVirtualKeyCode;
			vBool mIsDown;
		};

	public:
		virtual vVoid KeyPressed(const KeyboardEvent& event) = 0;
		virtual vVoid KeyReleased(const KeyboardEvent& event) = 0;
	};
}


#endif // __KEYBORDLISTENER_H__